package com.pxst.merchant.resp;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: @Ryan
 * @Description:
 * @CreateTime: 2023-09-12 16:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MerchantListResp {

    @ApiModelProperty("账户组名")
    private String groupName;

    @ApiModelProperty("商户名称")
    private String name;

    @ApiModelProperty("商户id")
    private Long merchantId;

    @ApiModelProperty("代理展示id")
    private String displayId;

    @ApiModelProperty("所属id")
    private Long belongId;

    @ApiModelProperty("代理全名")
    private String fullName;

    @ApiModelProperty("商户编码")
    private String code;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty("币种")
    private String currency;

    @ApiModelProperty("余额")
    private BigDecimal balance;

    @ApiModelProperty("可用余额")
    private BigDecimal availableBalance;

    @ApiModelProperty("状态")
    private BigDecimal status;

    @ApiModelProperty("冻结余额")
    private BigDecimal freezeBalance;

    @ApiModelProperty("结算手续费")
    private BigDecimal settFee;

    @ApiModelProperty("不使用 QR Pay 金额调整的合约")
    private Integer noQrAdj;

    @ApiModelProperty("QR随机加扣款 0: 扣款, 1:加款")
    private Integer noQrAdjRandom;

    @ApiModelProperty("是否使用 QR 附言")
    private Integer useQrPairingCode;

    @ApiModelProperty("web网址")
    private String webSite;

    @ApiModelProperty("等待入款金额")
    private BigDecimal waitIncomeAmount;

    @ApiModelProperty("今日转账")
    private BigDecimal todayTrFee;

    @ApiModelProperty("主单冻结金额")
    private BigDecimal freezeAmountMain;

    @ApiModelProperty("aj冻结金额")
    private BigDecimal frozenBalanceAj;

    @ApiModelProperty("总代名称")
    private String topAgentName;

    @ApiModelProperty("总代id")
    private Long topAgentId;
}
